#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@Project : gtmsAutoTestProject 
@File    : order_enum.py
@IDE     : PyCharm 
@Author  : Mario
@Date    : 2022/5/16 16:51 
@Describe: 订单正向状态枚举类
"""
from enum import Enum


class ORDER_ENUM(Enum):
    ONGOING = (1020, "用餐中")
    FINISH = (1040, "已完成")


if __name__ == '__main__':
    print(ORDER_ENUM.ONGOING.value[0])
    # 循环打印ORDER_ENUM枚举值
    for i in ORDER_ENUM.__members__.items():
        print(i)
